<%@ taglib uri="/struts-tags" prefix="s" %>

<html>
	
    <head>
        <link rel="stylesheet" type="text/css" href="<s:url value="/css/style.css"/>" />
        <link rel="stylesheet" type="text/css" href="<s:url value="/css/jquery.autocomplete.css"/>" />
        <link rel="stylesheet" type="text/css" href="<s:url value="/css/colorbox.css"/>" />

        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

        <title><s:text name="lector.titolweb"/> </title>

        <script type="text/javascript" src="<s:url value="/js/jquery-1.3.2.js"/>"></script>
        <script type="text/javascript" src="<s:url value="/js/lectorRSS.js"/>"></script>
        <script type="text/javascript" src="<s:url value="/js/jquery.periodicalupdater.js"/>"></script>
        <script type="text/javascript" src="<s:url value="/js/jquery.autocomplete.js"/>"></script>
        <script type="text/javascript" src="<s:url value="/js/jquery.colorbox.js"/>"></script>

    </head>
    
    <body>

        <div id="readerContainer">
	       	<div id="header">
		        <div id="headerLogo">
	                <a id="refreshHomePage" href="<s:url value="/Register"/>"><img src="<s:url value="/img/logo-grande.gif"/>" title='<s:text name="lector.titolweb"/>'/></a>
	            </div>

<%-- 
	       		<div id="headerUserInfo">
                   	<p><s:text name="lector.benvingut"/>&nbsp;<a href="#"><s:property value="#session.usuariConectat.login"/></a></p>
               	</div>	    
	 --%>			
				<div id="headerButtons">
					<a class="menuButton" href="<s:url value="/Signin"/>">Login page</a>
	            </div>

 			</div>
	       
	       <div id="contenidor">
				<s:form id="formRegistre" action="Registre" method="POST" enctype="multipart/form-data" cssStyle="margin:10px 0 0 10px;">
					
					<s:actionerror cssStyle="list-style-type:none; text-decoration:none;"/>
				
<%-- 					<s:hidden name="idusuari" value="%{#session.usuariConectat.idusuari}"/>
					<s:hidden name="login" value="%{#session.usuariConectat.login}"/>
 --%>					
					<s:textfield name="login" label="Login" required="true" maxlength="12"/>
					<s:textfield name="name" label="Full name" maxlength="40"/>
					<s:textfield name="email" label="Email" maxlength="40"/>
					<s:textfield name="place" label="Location" maxlength="30"/>
					<s:file name="picture" label="Your picture"/>
					<s:password name="password" label="Your password" required="true" maxlength="8"/>
					
<%-- 					<s:password name="newPassword" label="%{getText('registre.newPassword')}" required="true" maxlength="8"/>
 --%>				<s:password name="retypePassword" label="Repeat password" required="true" maxlength="8"/>
					<s:submit value="Confirm" id="buttonFormEditarUsuari"/>
				
				</s:form>
	
        	</div>
      </div>

    </body>
	
</html>